package cn.com.bod.fas.pm.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cn.com.bod.fas.pm.dao.mapper.CuCustomerMapper;
import cn.com.bod.fas.pm.model.vo.dto.request.CustBaseRequVo;
import cn.com.bod.fas.pm.service.CuCustomerService;
import cn.com.yusys.yusp.commons.mapper.CommonMapper;
import cn.com.yusys.yusp.commons.service.CommonService;

/**
 * @description 个人客户基本信息
 * @author houyaoxun
 * @date 2019年9月24日
 * @version 1.0.0
 * @Copyright (c) scfhdt
 */
@Service
public class CuCustomerServiceImpl extends CommonService implements CuCustomerService {

	@Autowired
	private CuCustomerMapper cuCustomerMapper;

	@Override
	protected CommonMapper<?> getMapper() {
		return cuCustomerMapper;
	}

	/**
	 * @description 三要素获取客户号
	 * @author houyaoxun
	 * @date 2019年9月26日
	 * @param
	 * @return String
	 */
	@Override
	public String getCustNo(CustBaseRequVo custBaseRequVo) {
		return cuCustomerMapper.getCustNo(custBaseRequVo);
	};
}
